package org.dromara.work.domain.bo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

/**
 * spatial_fj_dm
 * @author
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DmFjSaveBo extends BaseEntity {

    /**
     * ID
     */
    @NotBlank(message = "id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 地名编码
     */
    @NotBlank(message = "地名编码不能为空", groups = { AddGroup.class, EditGroup.class })
    @Size(min = 20,max = 20,message = "地名编码应20位")
    private String code;

    /**
     * 地名照片，多个文件地址之间用“|”分割
     */
    private String dmzp;

    /**
     * 批复文件，多个文件地址之间用“|”分割
     */
    private String pfwj;

    /**
     * 其它文件，多个文件地址之间用“|”分割
     */
    private String qt;

    /**
     * 备注
     */
    private String remark;

    /**
     * 备注
     */
    private Boolean sfrk;

}
